package com.member.shop.vo;

import com.member.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品sku对象 sys_biz_goods_sku
 *
 * @author lixinchen
 * @date 2024-01-05
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class SysBizGoodsSkuExport implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * sku名称
     */
    @Excel(name = "sku名称")
    private String skuName;

    /**
     * 规格标识
     */
    @Excel(name = "规格标识")
    private String specsKey;

    /**
     * erp编码(对接第三方)
     */
    @Excel(name = "erp编码")
    private String erpProductCode;


    /**
     * erp是否是最小单位(0:否,1.是)
     */
    @Excel(name = "erp是否是最小单位", readConverterExp = "0=否,1=是")
    private Integer erpSmallUnit;


    /**
     * 长单位数量
     */
    @Excel(name = "长单位")
    private String longUnit;


    /**
     * 长单位数量
     */
    @Excel(name = "长单位数量")
    private Integer longUnitNumber;


    /**
     * 最小单位
     */
    @Excel(name = "最小单位")
    private String unit;

    /**
     * 库存总量
     */
    @Excel(name = "库存")
    private Long stockCount;


    /**
     * 活动价格
     */
    @Excel(name = "活动价格")
    private BigDecimal activityPrice;


    /**
     * 市场价
     */
    @Excel(name = "市场价")
    private BigDecimal memberMarketPrice;

    /**
     * 实际销量
     */
    @Excel(name = "实际销量")
    private Long sales;


}
